package com.hanthink.system.mapper.user;

import java.util.List;
import com.hanthink.system.domain.user.User;
import com.hanthink.system.domain.user.UserClockInLog;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
	
	/**
	 * 通过工厂KEY查询所有用户信息
	 * 
	 * @param siteKey 工厂Key
	 * @return 用户集合
	 */
    List<User> selectUserList(User user);

	List<User> selectUserListOfAutoDistingguish(User user);


	User selectStatusByUser(User user);
	
	List<User> selectRepairUserList(User user);

	List<User> selectRepairUserListsj(User user);

	Integer getUserbyrequestid(@Param("id") Long requestid);

	Integer getUserbyidrole(@Param("requestid") String requestid);

	List<User> selectRepairUserListNoClockin(User user);
	
	void updateUserStatus(User user);
	
	int insertUserClockInLog(UserClockInLog userClockInLog);

	List<User>selectuserbyRoleid(@Param("roleid") Long roleid);
}
